package hyperNexusModel

type Order struct {
	BaseModel
	Account            string `gorm:"column:account;type:varchar(255);not null;comment:账号" json:"account"`
	AvatarId           int32  `gorm:"column:avatarId;comment:角色id; default:0" json:"avatarId"`
	HyperNexusAvatarId int64  `gorm:"column:hyperNexusAvatarId;comment:HyperNexus角色id; default:0; index" json:"hyperNexusAvatarId"`
	Order              string `gorm:"column:orderId;type:varchar(255);not null;comment:订单号" json:"order"`
	Data               string `gorm:"column:data;type:text;comment:订单数据" json:"data"`
	Status             int32  `gorm:"column:status;comment:订单状态; default:0" json:"status"`
	Goods              string `gorm:"column:goods;type:varchar(255);comment:商品ID" json:"goods"`
	GoodsContent       string `gorm:"column:goodsContent;type:text;comment:商品信息" json:"goodsContent"`
	GoodsPrice         int32  `gorm:"column:goodsPrice;comment:商品价格; default:0" json:"goodsPrice"`
}
